<?php include_stylesheets_for_form($form) ?>
<?php include_javascripts_for_form($form) ?>

 <!--Inicio de las Pestanhas -->
       <ul class="tabs">
         <li><a href="#tab1">Datos Personales del Cliente</a></li>
         <li><a href="#tab2">Dirección</a></li>
         <li><a href="#tab3">Informacion Para Contacto</a></li>
      </ul>

<div class="sf_admin_form">
  <?php echo form_tag_for($form, '@clientes') ?>
    <?php echo $form->renderHiddenFields() ?>

    <?php if ($form->hasGlobalErrors()): ?>
      <?php echo $form->renderGlobalErrors() ?>
    <?php endif; ?>
    <div class="tab_container">
    
    <?php $e=1;foreach ($configuration->getFormFields($form, $form->isNew() ? 'new' : 'edit') as $fieldset => $fields): ?>
        <div id ="tab<?php echo $e++?>"   class="tab_content">
            <?php include_partial('clientes/form_fieldset', array('clientes' => $clientes, 'form' => $form, 'fields' => $fields, 'fieldset' => $fieldset)) ?>
      </div>
        <?php endforeach; ?>
    </div>
    <?php include_partial('clientes/form_actions', array('clientes' => $clientes, 'form' => $form, 'configuration' => $configuration, 'helper' => $helper)) ?>
  </form>
</div>
